<?php

namespace App\Http\Controllers\PhpCookBook\Obj;

use App\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class SelfController extends Controller
{
    //
    public function address(){
        $a = new User();
        $b = $a;
        $a->id = 100;
        dd($b->id);
    }
}
